<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>View Load Products - Mifos Spike</title>
</head>
<body>

<c:url var="englishLocaleUrl" value="viewloanproducts.htm">
	<c:param name="locale" value="en" />
</c:url>
<c:url var="spanishLocaleUrl" value="viewloanproducts.htm">
	<c:param name="locale" value="es" />
</c:url>

<a href='<c:out value="${englishLocaleUrl}"/>'><fmt:message key="locale.english" /></a>
<a href='<c:out value="${spanishLocaleUrl}"/>'><fmt:message key="locale.spanish" /></a>

<hr />

<fmt:message key="loanproducts.listheading" />:
<ul>
	<c:forEach var="loanProduct" items="${model.loanProducts}">
		<li>${loanProduct.name}</li>
	</c:forEach>
</ul>
</body>
</html>